Debugging requires EXE file, not DLL - An attempt was made to launch the debugger on a DLL rather than an EXE file (PB/Win only). Be sure to use an explicit #COMPILE EXE metastatement to ensure the compiler generates the correct type of compiled code.